package com.example.demo.zabbix.request.builder.apiinfo;

import com.example.demo.zabbix.request.BaseRequest;
import com.example.demo.zabbix.request.builder.request.RequestBuilder;

import java.util.ArrayList;
import java.util.List;

/**
 * https://www.zabbix.com/documentation/4.0/manual/api/reference/apiinfo/version
 */
public class ApiinfoRequestBuilder extends RequestBuilder<List<String>> {
    public ApiinfoRequestBuilder(){
        super("apiinfo.version");
        baseRequest.setParams(new ArrayList<>());
    }

    public ApiinfoRequestBuilder(Long id){
        super("apiinfo.version",id);
        baseRequest.setParams(new ArrayList<>());
    }

    @Override
    public BaseRequest builder(){
        return baseRequest;
    }
}
